package com.fili.gui;

/**
 * Created by IntelliJ IDEA.
 * User: fili
 * Date: Sep 24, 2006
 * Time: 11:55:19 AM
 * To change this template use File | Settings | File Templates.
 */
public class GUIData
{
    private static int dx = -1;
    private static int dy = -1;
/*-------------------------------------------------------------------------------------
    Getters and setters
 --------------------------------------------------------------------------------------*/

    public static int getDifX()
    {
/*		if (dx < 0)
		{
			JFrame frame = new JFrame();
			frame.setLayout(new BorderLayout());
			frame.setSize(300, 200);

			JPanel pnl = new JPanel();
			frame.add(pnl, BorderLayout.CENTER);

			pnl.revalidate();
			frame.setVisible(true);
			frame.setVisible(false);
			pnl.revalidate();

			dx = frame.getWidth() - pnl.getWidth();
			dy = frame.getHeight() - pnl.getHeight();

			if (dx > 20)
				dx = 20;
			if (dy > 60)
				dy = 60;
		}
		return dx;*/
        return 8;
    }

    public static int getDifY()
    {
/*		if (dy < 0)
			getDifX();

		return dy;*/
        return 34;
    }

}
